Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce context footprint #12

Merged
merged 1 commit into from
Jun 3, 2015
Merged

Reduce context footprint #12

merged 1 commit into from
Jun 3, 2015

Conversation

ooflorent
Copy link
Contributor

Wrapping context would prevent collision with 3rd party libraries.

};

getChildContext() {
const { observeStores, wrapActionCreator } = this.dispatcher
return {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be changed to:

return {
  redux: this.dispatcher
}

gaearon added a commit that referenced this pull request Jun 3, 2015
@gaearon gaearon merged commit 61d9fa2 into reduxjs:master Jun 3, 2015
@gaearon
Copy link
Contributor

gaearon commented Jun 3, 2015

Good point. 👍

@ooflorent ooflorent deleted the wrap-context branch June 3, 2015 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants